<?php
/**
 * Portfolio tab(functionalities) navigation
 */

$tabs = array(
	'overview' => array(
		'title' => elgg_echo('Overview'),
		'url' => "portfolio/overview",
		'selected' => $vars['selected'] == 'overview',
	),
	'holding' => array(
		'title' => elgg_echo('Holding'),
		'url' => "portfolio/holding",
		'selected' => $vars['selected'] == 'holding',
	),
	'trade' => array(
		'title' => elgg_echo('Trade'),
		'url' => "portfolio/trade",
		'selected' => $vars['selected'] == 'trade',
	),
	'pnl' => array(
		'title' => elgg_echo('PnL'),
		'url' => "portfolio/pnl",
		'selected' => $vars['selected'] == 'pnl',
	),
);

echo elgg_view('navigation/tabs', array('tabs' => $tabs));
